package com.llf.Blog.Controller;

import com.llf.Blog.Pojo.*;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author machenike
 */
@Controller
@Api(value = "提供各实体类对象信息",tags = "实体类管理")
public class SwaggerController {
    @PostMapping("/user")
    public User user(){
        return user();
    }
    @PostMapping("/blog")
    public Blog blog(){
        return blog();
    }
    @PostMapping("/blogTags")
    public BlogTags blogTags(){
        return blogTags();
    }
    @PostMapping("/comment")
    public Comment comment(){
        return comment();
    }
    @PostMapping("/tag")
    public Tag tag(){
        return tag();
    }
    @PostMapping("/Type")
    public Type type(){
        return type();
    }
}
